package pojo;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.Timestamp;

public class Member {

  private Integer memberId;
  private String memberName;
  private Double memberMoney;
  private Double memberCount;
  private String memberPhone;
  private String memberPassword;
  private String memberRoleCode;
  private String memberStatus;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Timestamp memberCreateTime;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Timestamp memberUpdateTime;

  private MemberRole memberRole;
  private Integer page;
  private Integer limit;

  public Member() {
  }

  public MemberRole getMemberRole() {
    return memberRole;
  }

  public void setMemberRole(MemberRole memberRole) {
    this.memberRole = memberRole;
  }

  public Integer getMemberId() {
    return memberId;
  }

  public void setMemberId(Integer memberId) {
    this.memberId = memberId;
  }


  public String getMemberName() {
    return memberName;
  }

  public void setMemberName(String memberName) {
    this.memberName = memberName;
  }


  public Double getMemberMoney() {
    return memberMoney;
  }

  public void setMemberMoney(Double memberMoney) {
    this.memberMoney = memberMoney;
  }


  public Double getMemberCount() {
    return memberCount;
  }

  public void setMemberCount(Double memberCount) {
    this.memberCount = memberCount;
  }


  public String getMemberPhone() {
    return memberPhone;
  }

  public void setMemberPhone(String memberPhone) {
    this.memberPhone = memberPhone;
  }


  public String getMemberPassword() {
    return memberPassword;
  }

  public void setMemberPassword(String memberPassword) {
    this.memberPassword = memberPassword;
  }


  public String getMemberRoleCode() {
    return memberRoleCode;
  }

  public void setMemberRoleCode(String memberRoleCode) {
    this.memberRoleCode = memberRoleCode;
  }


  public String getMemberStatus() {
    return memberStatus;
  }

  public void setMemberStatus(String memberStatus) {
    this.memberStatus = memberStatus;
  }


  public java.sql.Timestamp getMemberCreateTime() {
    return memberCreateTime;
  }

  public void setMemberCreateTime(java.sql.Timestamp memberCreateTime) {
    this.memberCreateTime = memberCreateTime;
  }


  public java.sql.Timestamp getMemberUpdateTime() {
    return memberUpdateTime;
  }

  public void setMemberUpdateTime(java.sql.Timestamp memberUpdateTime) {
    this.memberUpdateTime = memberUpdateTime;
  }

  public Integer getPage() {
    return page;
  }

  public void setPage(Integer page) {
    this.page = page;
  }

  public Integer getLimit() {
    return limit;
  }

  public void setLimit(Integer limit) {
    this.limit = limit;
  }

  @Override
  public String toString() {
    return "Member{" +
            "memberId=" + memberId +
            ", memberName='" + memberName + '\'' +
            ", memberMoney=" + memberMoney +
            ", memberCount=" + memberCount +
            ", memberPhone='" + memberPhone + '\'' +
            ", memberPassword='" + memberPassword + '\'' +
            ", memberRoleCode='" + memberRoleCode + '\'' +
            ", memberStatus='" + memberStatus + '\'' +
            ", memberCreateTime=" + memberCreateTime +
            ", memberUpdateTime=" + memberUpdateTime +
            ", memberRole=" + memberRole +
            ", page=" + page +
            ", limit=" + limit +
            '}';
  }
}
